package com.itheima.nacos.client;

import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient("quickstart-provider")  //需要调用的微服务名称
public interface ProviderClient {

    //需要调用的微服务下的具体的方法
    @GetMapping("/service")
    public String service();

}
